<%@ include file="../header.jsp" %>

<h1>Modifier votre photo de profil</h1>

<h2>${phrase}</h2>
<img src="/MiniIBay/images/avatars/${vendeur.avatar}" />

<form method="post" action="modifieravatar" enctype="multipart/form-data">
	<fieldset>
		<legend>Nouvel avatar</legend>
		<p class="double">
			<span class="gauche">
				<label for="avatar">Avatar : </label>
			</span>
			<span class="droite">
				<input type="file" name="avatar" />
			</span>
		</p>
	</fieldset>
	<p class="simple">
		<input type="submit" value="Envoyer" />
	</p>
</form>

<ul>
	<c:forEach var="erreur" items="${requestScope.erreur}" >
		<li><c:out value="${erreur}" /></li>
	</c:forEach>
</ul>


<%@ include file="../footer.jsp" %>
